package com.itheima.wemedia.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "文章上架或下架")
public class DownOrUpDto {
    @ApiModelProperty(notes = "文章id")
    private Long id;
    @ApiModelProperty(notes = "文章上架= 1，下架=0")
    private Integer enable;
}
